<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>木毛旅行社 - 订购</title>
	<style>
		:root {
			--primary-color: #3498db;
			--secondary-color: #2980b9;
			--accent-color: #e74c3c;
			--light-bg: #f8f9fa;
			--dark-bg: #2c3e50;
			--text-color: #333;
			--light-text: #fff;
			--border-radius: 8px;
			--box-shadow: 0 4px 12px rgba(0,0,0,0.1);
			--transition: all 0.3s ease;
		}

		* {
			margin: 0;
			padding: 0;
			box-sizing: border-box;
		}

		body {
			font-family: 'Helvetica Neue', Arial, sans-serif;
			color: var(--text-color);
			line-height: 1.6;
			background-color: var(--light-bg);
		}

		header {
			background-color: var(--light-text);
			box-shadow: var(--box-shadow);
			position: sticky;
			top: 0;
			z-index: 100;
		}

		.center {
			width: 90%;
			max-width: 1200px;
			margin: 0 auto;
			padding: 0 15px;
		}

		.logo {
			color: var(--dark-bg);
			font-size: 2rem;
			margin: 0.5em 0;
			text-align: center;
		}

		nav ul.link {
			display: flex;
			justify-content: center;
			flex-wrap: wrap;
			gap: 1.5em;
			list-style: none;
			padding: 1em 0;
		}

		nav ul.link li a {
			color: var(--text-color);
			text-decoration: none;
			font-weight: 500;
			padding: 0.5em 1em;
			border-radius: var(--border-radius);
			transition: var(--transition);
		}

		nav ul.link li a:hover,
		nav ul.link li.active a {
			color: var(--light-text);
			background-color: var(--primary-color);
		}

		#headline {
			background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
			color: var(--light-text);
			padding: 3em 0;
			text-align: center;
		}

		#headline h2 {
			font-size: 2.5rem;
			margin-bottom: 0.5em;
		}

		#headline h3 {
			font-weight: 300;
			font-size: 1.2rem;
		}

		#containter {
			padding: 3em 0;
		}

		.list {
			background: white;
			border-radius: var(--border-radius);
			box-shadow: var(--box-shadow);
			padding: 30px;
			margin-bottom: 30px;
		}

		.list h2 {
			font-size: 1.8rem;
			margin-bottom: 15px;
			color: var(--dark-bg);
		}

		hr {
			border: none;
			height: 1px;
			background-color: #eee;
			margin: 15px 0 25px;
		}

		.fo {
			margin-bottom: 40px;
		}

		.fo ul {
			display: flex;
			align-items: center;
			list-style: none;
			margin-bottom: 20px;
			flex-wrap: wrap;
		}

		.fo ul li {
			margin-right: 20px;
			margin-bottom: 10px;
		}

		.fo ul li label {
			display: block;
			margin-bottom: 8px;
			font-weight: 500;
		}

		.fo ul li input {
			padding: 12px 15px;
			border: 1px solid #ddd;
			border-radius: var(--border-radius);
			width: 100%;
			font-size: 1rem;
		}

		.fo ul li a {
			display: inline-block;
			padding: 8px 20px;
			background-color: var(--light-bg);
			border-radius: 20px;
			text-decoration: none;
			color: var(--text-color);
			transition: var(--transition);
		}

		.fo ul li a:hover {
			background-color: var(--primary-color);
			color: white;
		}

		.submit {
			text-align: center;
			margin-top: 30px;
		}

		.submit button {
			background-color: var(--primary-color);
			color: white;
			border: none;
			padding: 12px 30px;
			border-radius: var(--border-radius);
			font-size: 1.1rem;
			cursor: pointer;
			transition: var(--transition);
		}

		.submit button:hover {
			background-color: var(--secondary-color);
		}

		.new h2 {
			margin-top: 40px;
		}

		.new ul {
			display: flex;
			flex-wrap: wrap;
			gap: 10px;
			list-style: none;
			margin-bottom: 20px;
		}

		.new ul li:first-child {
			font-weight: bold;
		}

		.new ul li {
			padding: 5px 15px;
			background-color: var(--light-bg);
			border-radius: 20px;
		}

		table {
			width: 100%;
			border-collapse: collapse;
			margin-top: 20px;
		}

		th, td {
			padding: 12px 15px;
			text-align: left;
			border-bottom: 1px solid #eee;
		}

		th {
			background-color: var(--light-bg);
			font-weight: 600;
		}

		tr:hover {
			background-color: rgba(0,0,0,0.02);
		}

		.price {
			color: var(--accent-color);
			font-weight: bold;
		}

		.reserve {
			display: inline-block;
			padding: 8px 15px;
			background-color: var(--primary-color);
			color: white;
			border-radius: var(--border-radius);
			text-decoration: none;
			transition: var(--transition);
		}

		.reserve:hover {
			background-color: var(--secondary-color);
		}

		.moreair {
			display: block;
			text-align: center;
			padding: 10px;
			color: var(--primary-color);
			text-decoration: none;
			font-weight: 500;
		}

		.moreair:hover {
			text-decoration: underline;
		}

		footer {
			background-color: var(--dark-bg);
			color: var(--light-text);
			padding: 3em 0 1em;
		}

		.footer-grid {
			display: grid;
			grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
			gap: 2em;
			margin-bottom: 2em;
		}

		footer h2 {
			font-size: 1.3rem;
			margin-bottom: 1em;
			position: relative;
			padding-bottom: 0.5em;
		}

		footer h2::after {
			content: '';
			position: absolute;
			left: 0;
			bottom: 0;
			width: 50px;
			height: 2px;
			background-color: var(--primary-color);
		}

		footer ul {
			list-style: none;
		}

		footer ul li {
			margin-bottom: 0.8em;
		}

		footer ul li a {
			color: #bbb;
			text-decoration: none;
			transition: var(--transition);
		}

		footer ul li a:hover {
			color: var(--light-text);
			padding-left: 5px;
		}

		.copyright {
			text-align: center;
			padding-top: 1.5em;
			border-top: 1px solid rgba(255,255,255,0.1);
			font-size: 0.9rem;
			color: #bbb;
		}

		@media (max-width: 768px) {
			nav ul.link {
				gap: 0.5em;
			}

			nav ul.link li a {
				padding: 0.5em;
				font-size: 0.9rem;
			}

			#headline h2 {
				font-size: 2rem;
			}

			.fo ul li {
				width: 100%;
				margin-right: 0;
			}

			table {
				display: block;
				overflow-x: auto;
			}
		}
	</style>
</head>
<body>
<header id='header'>
	<div class='center'>
		<h1 class="logo">木毛旅行社 - 订购</h1>
		<nav>
			<h2 class="none">网站导航</h2>
			<ul class="link">
				<li><a href="/index">首页</a></li>
				<li><a href="/information">旅行信息</a></li>
				<li class="active"><a href="/buy">订购</a></li>
				<li><a href="/scenery">风景欣赏</a></li>
				<li><a href="/login">登录</a></li>
			</ul>
		</nav>
	</div>
</header>

<div id="headline">
	<div class="center">
		<hgroup>
			<h2>出行订购</h2>
			<h3>特价机票，火车票</h3>
		</hgroup>
	</div>
</div>

<div id="containter" class="center">
	<div class="list airTicket">
		<h2>机票预订</h2>
		<hr>
		<form class="fo" action="#" method="post">
			<ul class="fo_first">
				<li>航程类型</li>
				<li><a href="#" class="active">单程</a></li>
				<li><a href="#">往返</a></li>
			</ul>
			<ul class="fo_city">
				<li>
					<label for="gocity">出发城市</label>
					<input type="text" id="gocity" placeholder="城市名">
				</li>
				<li>
					<label for="gotime">出发时间</label>
					<input type="date" id="gotime">
				</li>
			</ul>
			<ul class="come_city">
				<li>
					<label for="comecity">到达城市</label>
					<input type="text" id="comecity" placeholder="城市名">
				</li>
				<li>
					<label for="cometime">返回时间</label>
					<input type="date" id="cometime">
				</li>
			</ul>
			<div class="submit">
				<button type="submit">订票</button>
			</div>
		</form>

		<h2>火车票预订</h2>
		<hr>
		<form class="fo" action="#" method="post">
			<ul class="fo_first">
				<li>车票类型</li>
				<li><a href="#" class="active">单程</a></li>
				<li><a href="#">往返</a></li>
			</ul>
			<ul class="fo_city">
				<li>
					<label for="train_gocity">出发城市</label>
					<input type="text" id="train_gocity" placeholder="城市名">
				</li>
				<li>
					<label for="train_gotime">出发时间</label>
					<input type="date" id="train_gotime">
				</li>
			</ul>
			<ul class="come_city">
				<li>
					<label for="train_comecity">到达城市</label>
					<input type="text" id="train_comecity" placeholder="城市名">
				</li>
				<li>
					<label for="train_cometime">返回时间</label>
					<input type="date" id="train_cometime">
				</li>
			</ul>
			<div class="submit">
				<button type="submit">订票</button>
			</div>
		</form>

		<div class="new">
			<h2>最新机票</h2>
			<hr>
			<ul>
				<li>热门城市:</li>
				<li>上海</li>
				<li>武汉</li>
				<li>北京</li>
				<li>大连</li>
				<li>西安</li>
				<li>青岛</li>
				<li>云南</li>
			</ul>
			<table>
				<thead>
				<tr>
					<th>路线</th>
					<th>日期</th>
					<th>价格</th>
					<th>税费</th>
					<th>餐食</th>
					<th>航班</th>
					<th>预定</th>
				</tr>
				</thead>
				<tbody>
				{{ range $value := .ccd }}
				<tr>
					<td>{{ $value.City }}</td>
					<td>{{ $value.Time }}</td>
					<td class="price">{{ $value.Price }}</td>
					<td>{{ $value.Tax }}</td>
					<td>{{ $value.Meals }}</td>
					<td>{{ $value.Flight }}</td>
					<td><a href="{{ $value.Button }}" class="reserve">订购</a></td>
				</tr>
				{{ end }}
				</tbody>
				<tfoot>
				<tr>
					<td colspan="7"><a href="#" class="moreair">加载更多航班...</a></td>
				</tr>
				</tfoot>
			</table>
		</div>
	</div>
</div>

<footer>
	<div class="center">
		<div class="footer-grid">
			<div>
				<h2>合作伙伴</h2>
				<ul>
					<li><a href="#">中国东方航空</a></li>
					<li><a href="#">滴滴出行</a></li>
					<li><a href="#">携程旅游</a></li>
					<li><a href="#">去哪儿网</a></li>
				</ul>
			</div>
			<div>
				<h2>旅游服务</h2>
				<ul>
					<li><a href="#">签证办理</a></li>
					<li><a href="#">酒店预订</a></li>
					<li><a href="#">机票查询</a></li>
					<li><a href="#">旅游保险</a></li>
				</ul>
			</div>
			<div>
				<h2>关于我们</h2>
				<ul>
					<li><a href="#">公司简介</a></li>
					<li><a href="#">联系我们</a></li>
					<li><a href="#">招聘信息</a></li>
					<li><a href="#">隐私政策</a></li>
				</ul>
			</div>
			<div>
				<h2>联系我们</h2>
				<ul>
					<li>客服电话: 400-123-4567</li>
					<li>邮箱: info@homo.com</li>
					<li>地址: 北京市朝阳区旅游大厦</li>
				</ul>
			</div>
		</div>
		<div class="copyright">
			木毛旅行社 © 2023 版权所有 | www.homo.com
		</div>
	</div>
</footer>
</body>
</html>